// @import url('./nromalize.less');
* {
  padding: 0;
  margin: 0;
}

.singer-detail-header,
.songlist-detail-header {
  border: 1px solid #ccc;
  position: relative;
  display: flex;
  align-items: center;
  width: 28rem;
  height: 5rem;
  margin: 0 auto;
  &-left {
    margin: 0 0.4rem;
    img {
      width: 4rem;
      height: 4rem;
    }
  }
  &-right {
    user-select: none;
    position: absolute;
    top: 0;
    left: 5rem;
    h1 {
      padding: 0;
      margin: 0;
      margin-top: 0.45rem;
      font-size: 0.4rem;
    }
    section {
      display: flex;
      margin-top: 0.2rem;
      height: 0.6rem;
      span,
      i {
        height: 0.4rem;
        margin-right: 0.4rem;
        font-size: 0.4rem;
      }
    }
    .el-button {
      margin-top: -0.4rem;
    }
  }
}

/* 整个滚动条背景 */
::-webkit-scrollbar {
  height: 10px;
  width: 10px;
  background-color: transparent;
}
/* 滚动条上的按钮 (上下箭头). */
::-webkit-scrollbar-button {
  width: 5px;
  height: 5px;
  background-color: transparent;
  opacity: 0.2;
}

::-webkit-scrollbar-thumb {
  height: 10px;
  width: 10px;
  /* 上下两头给个圆角 */
  background-color: #909399;
  border-radius: 5px;
  /* 还可以给它加个阴影 */
  // box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
  cursor: pointer;
  border-radius: 10px;
  width: 5px;
  background-color: transparent;
}
/* 当同时有垂直滚动条和水平滚动条时交汇的部分. */
::-webkit-scrollbar-corner {
  background: transparent;
  // border-radius: 50% 50%;
}

// 作者：yangxy
// 链接：https://juejin.cn/post/6972090576283893774
// 来源：稀土掘金
// 著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  position: relative;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis; /* 弹性伸缩盒子模型显示*/
  display: -webkit-box;
  /* 限制在一个块元素显示的文本的行数*/
  -webkit-line-clamp: 2;
  /*大设置或检索伸缩盒对象的子元素的排列方式*/
  -webkit-box-orient: vertical;
}
.ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis; /* 弹性伸缩盒子模型显示*/
  display: -webkit-box;
  /* 限制在一个块元素显示的文本的行数*/
  -webkit-line-clamp: 3;
  /*大设置或检索伸缩盒对象的子元素的排列方式*/
  -webkit-box-orient: vertical;
}
p {
  padding: 0;
  margin: 0;
}
.music-down {
  &:hover {
    cursor: pointer;
    color: pink;
  }
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis; /* 弹性伸缩盒子模型显示*/
  display: -webkit-box;
  /* 限制在一个块元素显示的文本的行数*/
  -webkit-line-clamp: 1;
  /*大设置或检索伸缩盒对象的子元素的排列方式*/
  -webkit-box-orient: vertical;
}
button {
  outline-style: none;
  border: 0;
}
input {
  outline: none;
  border: 0;
}
li,
dl,
ol {
  list-style: none;
}
body,
html,
#app {
  height: 100%;
  width: 100%;
  /* 最少 1400px */
  min-width: 1500px;
}

.container {
  width: 28rem !important;
  margin: auto;
}
.lager-container {
  width: 100% !important;
  margin: auto;
}
a {
  text-decoration: none;
  color: black;
}
.icon {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  fill: currentColor;
  overflow: hidden;
  color: #000;
}
.app-body {
  margin-top: 0.5rem;
}
.clearfix:before,
.clearfix:after {
  content: '';
  display: table; /*转换成表格*/
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

.card {
  width: 1450px;
  padding: 20px 0;
  margin: 0 auto 12rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

img {
  user-select: none;
  vertical-align: middle;
  border-radius: 0.1rem;
}
.songTypeActive {
  color: #409eff;
}
.active {
  color: #409eff !important;
}
.playnew {
  position: absolute;
  top: 57%;
  left: 50%;
  font-size: 30px;
  transform: translate(-50%, -80%);
  &:hover {
    color: #409eff;
  }
}
.bf {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  transform: translate(-50%, -50%);
  display: none;
}
.pagenaintaion {
  position: relative;
  margin: 0.1rem auto;
  height: 100px;
  .el-pagination {
    display: flex;
    justify-content: center;
  }
}
// 动画
.my-toast {
  position: fixed;
  left: 50%;
  font-size: 20px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  transform: translate(-50%, -30%);
  transition: all 3s inherit;
  border-radius: 5px;
  padding: 0 60px;
  z-index: 999999999999999999999999999999999999999999999999;
  &-success {
    background-color: #f0f9eb;
    color: #67c23a;
    animation: top-transition 0.3s linear forwards;
  }
  &-error {
    background-color: #fef0f0;
    color: #f56c6c;
    animation: top-transition 0.3s linear forwards;
  }
  &-warning {
    background-color: #fdf6ec;
    color: #ecb43c;
    animation: top-transition 0.3s linear forwards;
  }
  &-info {
    background-color: #f4f4f5;
    color: #909399;
    animation: top-transition 0.3s linear forwards;
  }
}

@keyframes top-transition {
  0% {
    top: 0;
  }
  90% {
    top: 46px;
  }
  100% {
    top: 40px;
  }
}

.lrc-padd {
  padding: 0 30px;
  .lrc {
    display: flex;
    justify-content: space-between;
    &-left {
      width: 40%;
      height: 700px;
      text-align: center;
      img {
        width: 350px;
        height: 350px;
        border-radius: 50%;
        margin-top: 80px;
      }
      div {
        font-size: 30px;
        margin-top: 10px;
      }
      .lrc-name {
        cursor: pointer;
        font-size: 20px;
        &:hover {
          color: #409eff;
        }
      }
    }
    &-right {
      height: 700px;
      width: 60%;
      overflow: hidden;
      .lrc-container {
        position: relative;
        height: 100%;
        transition: all 1s linear;
        overflow: scroll;
        text-align: center;
        p {
          font-size: 30px;
          margin: 10px 0;
        }
      }
    }
  }
}
// 播放动画
.music_play {
  animation: playimge 4s infinite linear;
}
@keyframes playimge {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.newsong-shoucang {
  cursor: pointer;
}
